package com.black.app.mapper.store;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.black.app.domain.req.my.myorders.MyOrdersQueryReq;
import com.black.app.domain.resp.my.myorders.MyOrdersQueryResp;
import com.black.app.domain.resp.my.myorders.UserOrderDetails;
import com.black.app.domain.resp.my.myorders.UserOrdersResp;
import com.black.app.domain.store.AppStoreOrders;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author admin
* @description 针对表【app_store_orders】的数据库操作Mapper
* @createDate 2024-10-28 11:46:37
* @Entity com.black.app.domain.store.AppStoreOrders
*/
public interface AppStoreOrdersMapper extends BaseMapper<AppStoreOrders> {

    //订单分页查询
    List<MyOrdersQueryResp> paginationQuery(@Param("req") MyOrdersQueryReq req);
    //用户订单列表
    List<UserOrdersResp> userOrderList(@Param("userId") Long userId);
    //获取订单详情
    UserOrderDetails getOrderDetails(@Param("orderCode") String orderCode);
    //获取订单id
    Integer getOrderId(@Param("orderCode") String orderCode);
}




